package com.liehu.sms.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 实体类 仅用于接收和使用数据，并无与数据库直接的调用
 * @author Administrator
 *
 */

public class Residence implements Serializable{


	private String id;//主键


	
	private String contract;//合同编号
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date endTime;//合同结束时间
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date startTime;//合同启始时间
	private String spend;//合同缴费
	private String registerType;//入户方式  公积金还是考证
	private String mobile;//个人联系电话
	private String remarks;//备注
	private String employeeName;//业务员姓名
	private String employeeId;//职工外键id
	private String customerId;//客户外键id

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date createTime;//创建时间

	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
	private Date updateTime;//更新时间
	private String status;//状态，1受理ing,2受理over
	private String totle;//预判总分


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getContract() {
		return contract;
	}

	public void setContract(String contract) {
		this.contract = contract;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public String getSpend() {
		return spend;
	}

	public void setSpend(String spend) {
		this.spend = spend;
	}

	public String getRegisterType() {
		return registerType;
	}

	public void setRegisterType(String registerType) {
		this.registerType = registerType;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getEmployeeName() {
		return employeeName;
	}

	public void setEmployeeName(String employeeName) {
		this.employeeName = employeeName;
	}

	public String getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}

	public String getCustomerId() {
		return customerId;
	}

	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getTotle() {
		return totle;
	}

	public void setTotle(String totle) {
		this.totle = totle;
	}

	@Override
	public String toString() {
		return "Residence{" +
				"id='" + id + '\'' +
				", contract='" + contract + '\'' +
				", endTime=" + endTime +
				", startTime=" + startTime +
				", spend='" + spend + '\'' +
				", registerType='" + registerType + '\'' +
				", mobile='" + mobile + '\'' +
				", remarks='" + remarks + '\'' +
				", employeeName='" + employeeName + '\'' +
				", employeeId='" + employeeId + '\'' +
				", customerId='" + customerId + '\'' +
				", createTime=" + createTime +
				", updateTime=" + updateTime +
				", status='" + status + '\'' +
				", totle='" + totle + '\'' +
				'}';
	}
}
